package com.prototype.web.model;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * admin登录Model
 * 
 * @author eg366
 * 
 */
public class AdminLoginModel {

	@NotEmpty(message = "ddd")
	private String loginName;
	@NotEmpty
	private String password;
	@NotNull
	@Size(max = 6, min = 6)
	private String authCode;

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

}
